/*   1:    */ package com.jetbrains.licenseService.requests;
/*   2:    */ 
/*   3:    */ import org.jetbrains.annotations.NotNull;
/*   4:    */ 
/*   5:    */ public abstract class AbstractRequest<Response>
/*   6:    */ {
/*   7:    */   private long a;
/*   8:    */   private String b;
/*   9:    */   private String c;
/*  10:    */   private String d;
/*  11:    */   private String e;
/*  12:    */   private boolean f;
/*  13:    */   
/*  14:    */   public AbstractRequest() {}
/*  15:    */   
/*  16:    */   protected AbstractRequest(long paramLong, String paramString, @NotNull UserIdentification paramUserIdentification)
/*  17:    */   {
/*  18: 18 */     this(paramLong, paramString, paramUserIdentification.getMachineId(), paramUserIdentification.getHostName(), paramUserIdentification.getUserName());
/*  19:    */   }
/*  20:    */   
/*  21:    */   protected AbstractRequest(long paramLong, String paramString1, String paramString2, String paramString3, String paramString4)
/*  22:    */   {
/*  23: 22 */     this.a = paramLong;
/*  24: 23 */     this.e = paramString1;
/*  25: 24 */     this.b = paramString2;
/*  26: 25 */     this.c = paramString3;
/*  27: 26 */     this.d = paramString4;
/*  28:    */   }
/*  29:    */   
/*  30:    */   public long getSalt()
/*  31:    */   {
/*  32: 30 */     return this.a;
/*  33:    */   }
/*  34:    */   
/*  35:    */   public void setSalt(long paramLong)
/*  36:    */   {
/*  37: 34 */     this.a = paramLong;
/*  38:    */   }
/*  39:    */   
/*  40:    */   public String getMachineId()
/*  41:    */   {
/*  42: 38 */     return this.b;
/*  43:    */   }
/*  44:    */   
/*  45:    */   public void setMachineId(String paramString)
/*  46:    */   {
/*  47: 42 */     this.b = paramString;
/*  48:    */   }
/*  49:    */   
/*  50:    */   public String getHostName()
/*  51:    */   {
/*  52: 46 */     return this.c;
/*  53:    */   }
/*  54:    */   
/*  55:    */   public void setHostName(String paramString)
/*  56:    */   {
/*  57: 50 */     this.c = paramString;
/*  58:    */   }
/*  59:    */   
/*  60:    */   public String getUserName()
/*  61:    */   {
/*  62: 54 */     return this.d;
/*  63:    */   }
/*  64:    */   
/*  65:    */   public void setUserName(String paramString)
/*  66:    */   {
/*  67: 58 */     this.d = paramString;
/*  68:    */   }
/*  69:    */   
/*  70:    */   public String getProductCode()
/*  71:    */   {
/*  72: 62 */     return this.e;
/*  73:    */   }
/*  74:    */   
/*  75:    */   public void setProductCode(String paramString)
/*  76:    */   {
/*  77: 66 */     this.e = paramString;
/*  78:    */   }
/*  79:    */   
/*  80:    */   public boolean isSecure()
/*  81:    */   {
/*  82: 70 */     return this.f;
/*  83:    */   }
/*  84:    */   
/*  85:    */   public void setSecure(boolean paramBoolean)
/*  86:    */   {
/*  87: 74 */     this.f = paramBoolean;
/*  88:    */   }
/*  89:    */   
/*  90:    */   public abstract String getActionName();
/*  91:    */   
/*  92:    */   public static final class UserIdentification
/*  93:    */   {
/*  94:    */     private String a;
/*  95:    */     private String b;
/*  96:    */     private String c;
/*  97:    */     
/*  98:    */     public UserIdentification(String paramString1, String paramString2, String paramString3)
/*  99:    */     {
/* 100: 85 */       this.a = paramString1;
/* 101: 86 */       this.b = paramString2;
/* 102: 87 */       this.c = paramString3;
/* 103:    */     }
/* 104:    */     
/* 105:    */     public String getMachineId()
/* 106:    */     {
/* 107: 91 */       return this.a;
/* 108:    */     }
/* 109:    */     
/* 110:    */     public String getHostName()
/* 111:    */     {
/* 112: 95 */       return this.b;
/* 113:    */     }
/* 114:    */     
/* 115:    */     public String getUserName()
/* 116:    */     {
/* 117: 99 */       return this.c;
/* 118:    */     }
/* 119:    */   }
/* 120:    */   
/* 121:    */   public String toString()
/* 122:    */   {
/* 123:104 */     return "machineId='" + this.b + '\'' + ", clientInfo='" + this.d + "@" + this.c + "'" + ", productId='" + this.e + '\'';
/* 124:    */   }
/* 125:    */ }


/* Location:           E:\idea\
 * Qualified Name:     com.jetbrains.licenseService.requests.AbstractRequest
 * JD-Core Version:    0.7.0.1
 */